﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Editor.aspx.cs" Inherits="admin_thong_tin_du_an_Editor" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Kimland - Quản trị thông tin dự án</title>
    <script src="/Scripts/menuLeft.js" type="text/javascript"></script>
    <script src="/admin/js/thongtinduan_editor.js" type="text/javascript"></script>
    <style type="text/css">
        .boxMenuL:hover a,.boxMenuL.active a{color:#d80018;text-decoration:none;text-transform:uppercase;}
        .boxMenuL:hover,.boxMenuL.active{margin-bottom:5px;}
        .boxMenuL:hover .l,.boxMenuL.active .l{background:url(/images/sm_l.png) no-repeat;}
        .boxMenuL:hover .m,.boxMenuL.active .m{background:url(/images/sm_m.png) repeat-x;}
        .boxMenuL:hover .r,.boxMenuL.active .r{background:url(/images/sm_r.png) no-repeat;}
      
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="body">  
<div class="bodyR1">
    <div class="topCat" style="margin-top:10px;">
            <p class="l"></p>
            <div class="m">
                <p class="pos">
                    <asp:Literal ID="litPos" runat="server"></asp:Literal>
                </p>
            </div>
            
            <p class="r"></p>
        </div>
        <div class="boxBorder2">
            
         <div class="info_div" id="fail" runat="server" visible="false"><span class="ico_cancel">Có lỗi xảy ra!</span></div>
         <table>
            <tr>
                <td valign="top">
                    <div><h2><img src="/images/bul1.png" /> Các thông tin chi tiết về dự án </h2></div>
                    <p class="hrDotted"></p>
                     <table class="edit">        
                        <tr>
                            <th>Ảnh minh họa:</th>
                        </tr>
                        <tr>
                            <td><asp:FileUpload ID="fileUpAvatar" runat="server" CssClass="fileUpload"/>
                                <p class="imgAvatar">
                                    <asp:Image ID="imgAvatar" runat="server" ImageUrl="/images/no_image.jpg" Width="58px" Height="58px" style="margin:3px;padding:0px;"/>
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <th>Tiêu đề:</th>
                            </tr>
                        <tr>
                            <td><asp:TextBox ID="txtTitle" runat="server" Width="500px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>Giới thiệu:</th>
                            </tr>
                        <tr>
                            <td><asp:TextBox ID="txtDes" runat="server" Width="500px" TextMode="MultiLine"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>Nội dung:</th>
                            </tr>
                        <tr>
                            <td><FCKeditorV2:FCKeditor ID="radNewsContent" runat="server" Width="650px" Height="500px">
                                    </FCKeditorV2:FCKeditor>
                            </td>
                        </tr>       
                        <tr>
                            <td><asp:Button ID="btnEdit" runat="server" Text="Sửa" CssClass="buttonA" onclick="btnEdit_Click" OnClientClick="return doSelectCat();"/>
                                <asp:Button ID="btnAdd" runat="server" Text="Thêm mới" CssClass="buttonA" onclick="btnAdd_Click" OnClientClick="return doSelectCat();"/>
                                <asp:Button ID="btnCancel" runat="server" Text="Hủy" CssClass="buttonA" onclick="btnCancel_Click"/>		
                            </td>
                        </tr>
                    </table>	
                </td>
                <td valign="top" style="padding-left:10px;">
                    <div><h2><img src="/images/bul1.png" /> Thông tin phân loại </h2></div>
                    <p class="hrDotted"></p>
                    <strong>Quận Huyện:</strong><br /><br />
                    <asp:Repeater ID="radChuyenMuc" runat="server">
                    <ItemTemplate>
                        <p><input id='<%# Eval("id") %>' type="radio" name="radQuanHuyen"/><%# Eval("catName") %></p>
                    </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
         </table>
   
	<asp:HiddenField ID="hidID" runat="server" />
    <asp:HiddenField ID="hidCatID" runat="server" />
    <asp:HiddenField ID="hidQuanHuyen" runat="server" />
    <asp:HiddenField ID="hidAvatar" runat="server" Value="/images/no_image.jpg"/>
        </div>
    </div>
</div>
</asp:Content>





